package com.hjy.elasticsearch.entity;

import io.searchbox.annotations.JestId;

import java.io.Serializable;

/**
 * @CopyRight: 版权所有
 * @Author: hejinyi
 * @Description:
 * @Date: 2020/11/30
 */
public class OrderEntity  extends ESEntity{


    //对应的存入Elasticsearch的表名，必须是小写
    private String INDEX_NAME = "order_info";

    //分组名称
    private String TYPE = "link_order_info";



    private String order_code;

    private String order_name;
    private String order_phone;

    private String total_quantity;
    private String total_price;

    private String order_status;
    private String order_time;
    private String pay_price;
    private String pay_time;

    private String supplier_product_code;
    private String allocation_product_code;
    private String store_product_code;



    public String getOrder_code() {
        return order_code;
    }

    public void setOrder_code(String order_code) {
        this.order_code = order_code;
    }

    public String getOrder_name() {
        return order_name;
    }

    public void setOrder_name(String order_name) {
        this.order_name = order_name;
    }

    public String getOrder_phone() {
        return order_phone;
    }

    public void setOrder_phone(String order_phone) {
        this.order_phone = order_phone;
    }

    public String getTotal_quantity() {
        return total_quantity;
    }

    public void setTotal_quantity(String total_quantity) {
        this.total_quantity = total_quantity;
    }

    public String getTotal_price() {
        return total_price;
    }

    public void setTotal_price(String total_price) {
        this.total_price = total_price;
    }

    public String getOrder_status() {
        return order_status;
    }

    public void setOrder_status(String order_status) {
        this.order_status = order_status;
    }

    public String getOrder_time() {
        return order_time;
    }

    public void setOrder_time(String order_time) {
        this.order_time = order_time;
    }

    public String getPay_price() {
        return pay_price;
    }

    public void setPay_price(String pay_price) {
        this.pay_price = pay_price;
    }

    public String getPay_time() {
        return pay_time;
    }

    public void setPay_time(String pay_time) {
        this.pay_time = pay_time;
    }

    public String getSupplier_product_code() {
        return supplier_product_code;
    }

    public void setSupplier_product_code(String supplier_product_code) {
        this.supplier_product_code = supplier_product_code;
    }

    public String getAllocation_product_code() {
        return allocation_product_code;
    }

    public void setAllocation_product_code(String allocation_product_code) {
        this.allocation_product_code = allocation_product_code;
    }

    public String getStore_product_code() {
        return store_product_code;
    }

    public void setStore_product_code(String store_product_code) {
        this.store_product_code = store_product_code;
    }

    public String getINDEX_NAME() {
        return INDEX_NAME;
    }

    public String getTYPE() {
        return TYPE;
    }
}
